Skip to content

Conversation

@emfisch
Copy link
Contributor

@emfisch emfisch commented Dec 12, 2024

The TS/JS team would like to add a version of the launch profiles UI for JSPS projects that reads/writes fromlaunch.jsonrather than launchsettings.json. By making ContextAndRuleProviderState, IProjectState, and QueryProjectPropertiesContext public, we can reuse several of the QueryDataProviders dotnet has already implemented to populate the launch profiles UI.

For example, the UIPropertyFromRuleDataProducer class is expecting context of the type ContextAndRuleProviderState, and I would like this class to populate UI properties for the JSPS scenario as well.

I have already confirmed that these changes will allow the launch.json UI to work properly:
Screenshot 2024-12-11 152811

Microsoft Reviewers: Open in CodeFlow

@emfisch emfisch requested a review from a team as a code owner December 12, 2024 21:49
@emfisch emfisch force-pushed the dev/emilyfischer/launchJsonUI branch from 800e1b0 to f22999a Compare December 12, 2024 21:57
@drewnoakes drewnoakes added the Feature-Debugging Launching an application via F5, setting debug properties and launch profiles. label Dec 13, 2024
@drewnoakes
Copy link
Member

LGTM. Have asked @tmeschter to take a look in case he has any concerns, as he wrote this originally.

@emfisch
Copy link
Contributor Author

emfisch commented Dec 13, 2024

@dotnet-policy-service agree company="Microsoft"

@drewnoakes drewnoakes merged commit 5f3636c into dotnet:main Dec 13, 2024
5 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 17.12 milestone Dec 13, 2024
drewnoakes pushed a commit that referenced this pull request Feb 3, 2025
…ers (#9641)

This is a follow up to these PRs: #9621, #9631

The TypeScript/JavaScript team is working on adding a version of the launch profiles UI that reads/writes from` launch.json `rather than` launchsettings.json`. We'd like reuse dotnet's existing functionality for this, with the exception of actions specific to modifying ` launchsettings.json`. With this PR, all actions specific to ` launchsettings.json` have been moved into a separate class (`LaunchProfileProjectActionProvider`) with relevant filtering `([AppliesTo(ProjectCapability.DotNet)])`. I have removed this filtering from the other action providers so they can be used for JSPS projects as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature-Debugging Launching an application via F5, setting debug properties and launch profiles.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants